0e09bb82a9edc9553530f4755d4b69b282cb910c,src/main/java/org/apache/commons/text/ExtendedMessageFormat.java,ExtendedMessageFormat,equals,#Object#,265

Before Change


          return false;
        }
        final ExtendedMessageFormat rhs = (ExtendedMessageFormat)obj;
        if (ObjectUtils.notEqual(toPattern, rhs.toPattern)) {
            return false;
        }
        if (ObjectUtils.notEqual(registry, rhs.registry)) {

After Change


          return false;
        }
        final ExtendedMessageFormat rhs = (ExtendedMessageFormat)obj;
        if (!Objects.equals(toPattern, rhs.toPattern)) {
            return false;
        }
        if (!Objects.equals(registry, rhs.registry)) {